﻿package edu.mit.media.fv.layers{	import edu.mit.media.fv.blocks.*;	import edu.mit.media.fv.components.*;	import edu.mit.media.fv.events.*;	import edu.mit.media.fv.fluidspace.*;	import edu.mit.media.fv.layers.*;	import edu.mit.media.fv.layers.*;	import edu.mit.media.fv.icons.*;	import flash.display.*;		public class IncomingLayer extends WorkspaceLayer	{		public function IncomingLayer(volume:Number, x:int=0, y:int=0, width:int=650, height:int=100, name:String = "", color:uint = 0xFFFFFF, icon:DisplayObject = null)		{			super(volume, x, y, width, height, name, color, icon);		}		public override function dropBlock(block:Block):void{			if(block.blockContainer == this){				block.moveBlock(this);			}else if(block.blockContainer is ActiveLayer){				block.selfDestruct();			}else{				block.snapBack();			}		}			}}